package com.xiaoka.flutter_plugin_gdmap.AMap;

/**
 * Copyright (C), 2020 - 2999, Sichuan Xiaoka Technology Co., Ltd.
 *
 * @Description:控件初始化参数
 * @Author: lch
 * @Date: 2020/10/23 16:37
 **/
public class AMapBean  {

    //设置是否显示定位小蓝点，用于满足只想使用定位，不想使用定位小蓝点的场景，设置false以后图面上不再有定位蓝点的概念，但是会持续回调位置信息。
    private boolean showMyLocation;
    //缩放等级
    private int zoomTo;
    //是否显示定位按钮
    private boolean myLocationButtonEnabled;

    //是否将视角移动到地图中心点
    private boolean showCentre;

    public int getZoomTo() {
        return zoomTo;
    }

    public void setZoomTo(int zoomTo) {
        this.zoomTo = zoomTo;
    }

    public boolean isShowMyLocation() {
        return showMyLocation;
    }

    public void setShowMyLocation(boolean showMyLocation) {
        this.showMyLocation = showMyLocation;
    }

    public boolean isMyLocationButtonEnabled() {
        return myLocationButtonEnabled;
    }

    public void setMyLocationButtonEnabled(boolean myLocationButtonEnabled) {
        this.myLocationButtonEnabled = myLocationButtonEnabled;
    }

    public boolean isShowCentre() {
        return showCentre;
    }

    public void setShowCentre(boolean showCentre) {
        this.showCentre = showCentre;
    }
}
